Skip to main content

Supported types

note

Notes don't affect your exported objects, I wrote them only because types only looked kinda empty.

TypeNotes
BigIntSerializes to string, then gets converted back to BigInt
Boolean-
FunctionPassed by generated ID (when exporting from renderer function will be converted to async)
NumberNaNs are also supported
String-
UndefinedPassed as type
NullPassed as type
Date-
ArrayBuffer-
Map-
Set-
Error-

All of the above types can be passed in array or plain object.